    <?php
include $this->Render('header.php');
?>
<link rel="stylesheet" type="text/css" href="<?php echo BASE_STYLE;?>/css/admin.css" />
<script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/dyhl.linkpage.js"></script>
<script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/common.js"></script>

<style type="text/css">
.line-bot {
	border:1px solid #a8a8a8;
}

.order-item-box {
	width:100%;
	height:auto;
	overflow:hidden;
	border-bottom:1px solid #a8a8a8;
	padding-bottom:15px;
	margin-bottom:15px;
}

.order-item-box input[type="text"],.order-item-box select {
	background:none;
}

.admin-search-box {
	padding:15px;
}
.title-0{
	font-weight:bold;width:98px;float:left;text-align:right;
}
.daish-box table tr td {font-size:14px;}
.daish-box table tr td em {font-size:12px !important;}
.input-02 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#5A96CC !important; background:#f6f6f6 !important; width:70% !important;}
.input-03 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#000 !important; background:#00fcff !important; width:50% !important;}
.input-04 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle;background:#f6f6f6 !important; width:57% !important;}
.input-05 {border:1px solid #CCCCCC !important; font-size:14px !important; padding:2px !important; vertical-align:middle; color:#FF0000 !important; background:#f6f6f6 !important; width:70% !important;}

p{margin:0;padding:0}
body,textarea,span{font:12px/1.5 微软雅黑,arial,sans-serif;}
a{color:#333;text-decoration:none;}
a:hover{color:#f60;text-decoration:underline;}
a:hover em,a:hover i,a:hover span{cursor:pointer;}
/*** guide ***/
.guide{width:60px;margin-left:581px;position:fixed;left:50%;bottom:134px;_position:absolute;_top:expression(documentElement.scrollTop+documentElement.clientHeight - this.clientHeight - 134+'px');display:block;}
.guide a{display:block;width:60px;height:50px;background:#C0C0C0 no-repeat;margin-top:10px;text-decoration:none;font:16px/50px "Microsoft YaHei";text-align:center;color:#fff;border-radius:2px;}
.guide a:hover{text-decoration:none;background-color:#39F;color:#fff;}
.guide .find{background-position:-84px -236px;}
#glideDiv0{position:fixed;top:60%;left:80.3%;bottom:0;}
</style>
<script type="text/javascript">
function MM_over(mmObj) {
    var mSubObj = mmObj.getElementsByTagName("div")[0];
    mSubObj.style.display = "block";
    mSubObj.style.backgroundColor = "#D8D8D8";
}
function MM_out(mmObj) {
    var mSubObj = mmObj.getElementsByTagName("div")[0];
    mSubObj.style.display = "none";
    
}
</script>
<script type="text/javascript" src="<?php echo BASE_STYLE;?>/js/order_faoinfo.js"></script>
<!--S 公共顶部-->
<div id="page-north">
    <?php
		include $this->Render('nav.php');
		include $this->Render('sub_nav.php');
	?>
    
</div>
<?php if(!empty($this->order['contractdetails']['sign_image'])){?>
<div id="glideDiv0">
<div style="position:relative;display:inline-block; float:left;margin-right:10px;">
            <img title='签字或盖章模板' data-original="<?php echo $this->order['contractdetails']['sign_image'];?>" class="example-image" src="<?php echo $this->order['contractdetails']['sign_img'];?>" width="80" height="80" />
            </div>
</div>
<?php }?>
<!--E 公共顶部 -->
<div class="guide">
    <div class="guide-wrap" onmouseover="MM_over(this)" onmouseout="MM_out(this)">
        <a href="#" class="find" title="审核标准"><span>审核标准</span></a><div style="width:210px;height:500px;display:none;left:0;top:15px;z-index:5;"><p><?php echo $this->order['contractdetails']['audit_details'];?></p></div>
        <a hidden><span>条款</span></a>
    </div>
</div>
<div class="guide">
  <div class="guide-wrap1" onmouseover="MM_over(this)" onmouseout="MM_out(this)">
    <a href="#" class="find" title="合同条款"><span>合同条款</span></a><div style="width:210px;height:500px;display:none;left:0;top:15px;z-index:5;"><p><?php echo $this->order['contractdetails']['contract']; ?></p></div>
  </div>  
</div>
<div class="daish-box" style="height:90%; overflow-y:scroll;overflow-x:hidden; box-sizing:border-box; padding: 15px 25px; width:1150px; margin:0px 300px 0px 230px;">
<form action="/order/faoaudit/option/save/" method="post" name="form1" class="J-ajaxForm" id="form1">
	<div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">        	<legend style="padding:5px 15px;"><h2>征信结果</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                	<td height="30px"><div class='title-0'>征信对象：</div><?php echo $this->order['base']['buyer']['ct_name'];?>(购车人)</td>
                </tr>
                <tr>
                	<td height="35px"><div class='title-0'>征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['buyer']['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['buyer']['ct_querytime']);?></span></td>
                </tr>
                <?php if(!empty($this->order['buyer']['ct_previous_remark'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>上次征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['buyer']['ct_previous_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['buyer']['ct_previous_querytime']);?></span></td>
                </tr>
                <?php }?>
                <tr>
                    <td height="35px"><div class='title-0' style="width:120px!important">人脸识别相似度：</div> <span style="color:#5A96CC;font-size:14px"><?php echo empty($this->order['base']['buyer']['visa'])?'无相似度':$this->order['base']['buyer']['visa'];?></span></td>
                </tr>
                <?php if(!empty($this->order['buyer']['ct_bigdata'])){?>
                    <tr>
                        <td height="30px"><div class='title-0'>大数据结果：</div><?php echo $this->order['buyer']['ct_bigdata'];?>，数据提供方:<?php echo $this->order['buyer']['ct_bigdata_org'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $arr = explode('_',$this->order['buyer']['ct_bigdata_number']); echo date('Y-m-d H:i:s',strtotime($arr[1])); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo"http://api.qiche100.com/big_data/validate/report?swift_number=".$this->order['buyer']['ct_bigdata_number'];?>" target="_blank">查看详情</a>
                        </td>
                    </tr>
                <?php 
                }
                if(!empty($this->order['buyer']['ct_fico_result'])){
                ?>
                <tr>
                    <td height="30px"><div class='title-0'>&nbsp;</div><?php $fico_result = unserialize($this->order['buyer']['ct_fico_result']);if($fico_result['fico_early_warning']['ret_code'] == 999) {echo '无命中,数据提供方:FICO'.'     '.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}elseif($fico_result['fico_early_warning']['ret_code'] == 000){echo $fico_result['fico_early_warning']['risk_level'].'级,'.$fico_result['reason_detail'].',&nbsp;数据提供方:FICO &nbsp;&nbsp;&nbsp;'.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}?>
                        </td>
                    </tr>
            <?php } ?>
                <?php if(!empty($this->order['spouse'])){?>
                <tr>
                	<td height="30px"><div class='title-0'>征信对象：</div><?php echo $this->order['spouse']['ct_name'];?>(配偶)</td>
                </tr>
                <tr>
                	<td height="35px"><div class='title-0'>征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['spouse']['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['spouse']['ct_querytime']);?></span></td>
                </tr>
                <?php if(!empty($this->order['spouse']['ct_previous_remark'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>上次征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $this->order['spouse']['ct_previous_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$this->order['spouse']['ct_previous_querytime']);?></span></td>
                </tr>
                <?php }?>
                <tr>
                    <td height="35px"><div class='title-0' style="width:120px!important">人脸识别相似度：</div> <span style="color:#5A96CC;font-size:14px"><?php echo empty($this->order['spouse']['visa'])? '无相似度':$this->order['spouse']['visa'];?></span></td>
                </tr>
                <?php if(!empty($this->order['spouse']['ct_bigdata'])){?>
                    <tr>
                       <td height="30px"><div class='title-0'>大数据结果：</div>
                           <?php echo $this->order['spouse']['ct_bigdata'];?>，数据提供方：<?php echo $this->order['spouse']['ct_bigdata_org'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $arr2 = explode('_',$this->order['spouse']['ct_bigdata_number']); echo date('Y-m-d H:i:s',strtotime($arr2[1]));?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo"http://api.qiche100.com/big_data/validate/report?swift_number=".$this->order['spouse']['ct_bigdata_number'];?>" target="_blank">查看详情</a>
                        </td>
                    </tr>
                <?php 
                }
                if(!empty($this->order['spouse']['ct_fico_result'])){
                ?>
                <tr>
                    <td height="30px"><div class='title-0'>&nbsp;</div><?php $fico_result = unserialize($this->order['spouse']['ct_fico_result']);if($fico_result['fico_early_warning']['ret_code'] == 999) {echo '无命中,数据提供方:FICO'.'     '.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}elseif($fico_result['fico_early_warning']['ret_code'] == 000){echo $fico_result['fico_early_warning']['risk_level'].'级,'.$fico_result['reason_detail'].',&nbsp;数据提供方:FICO &nbsp;&nbsp;&nbsp;'.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}?>
                        </td>
                    </tr>
                <?php }
				    }
				?>
                <?php
					if(!empty($this->order['guarantor'])) foreach($this->order['guarantor'] as $key => $val){
				?>
                <tr>
                	<td height="30px"><div class='title-0'>征信对象：</div><?php echo $val['ct_name'];?>(担保人)</td>
                </tr>
                <tr>
                	<td height="35px"><div class='title-0'>征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $val['ct_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$val['ct_querytime']);?></span></td>
                </tr>
                <?php if(!empty($val['ct_previous_remark'])){?>
                <tr>
                    <td height="35px"><div class='title-0'>上次征信结果：</div> <span style="color:#5A96CC;font-size:14px"><?php echo $val['ct_previous_remark'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$val['ct_previous_querytime']);?></span></td>
                </tr>
                <?php }?>
                <tr>
                    <td height="35px"><div class='title-0' style="width:120px!important">人脸识别相似度：</div> <span style="color:#5A96CC;font-size:14px"><?php echo empty($val['visa'])? '无相似度': $val['visa'];?></span></td>
                </tr>
                <?php if(!empty($val['ct_bigdata'])){?>
                    <tr><td height="30px"><div class='title-0'>大数据结果：</div>
                        
                            <?php echo $val['ct_bigdata'];?>，数据提供方： <?php echo $val['ct_bigdata_org'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $arr3 = explode('_',$val['ct_bigdata_number']); echo date('Y-m-d H:i:s',strtotime($arr3[1])); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo "http://api.qiche100.com/big_data/validate/report?swift_number=".$val['ct_bigdata_number'];?>" target="_blank">查看详情</a>
                        </td>
                    </tr>
                <?php 
                }
                if(!empty($val['ct_fico_result'])){
                ?>
                <tr>
                    <td height="30px"><div class='title-0'>&nbsp;</div><?php $fico_result = unserialize($val['ct_fico_result']);if($fico_result['fico_early_warning']['ret_code'] == 999) {echo '无命中,数据提供方:FICO'.'     '.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}elseif($fico_result['fico_early_warning']['ret_code'] == 000){echo $fico_result['fico_early_warning']['risk_level'].'级,'.$fico_result['reason_detail'].',&nbsp;数据提供方:FICO &nbsp;&nbsp;&nbsp;'.date("Y-m-d h:i:s", $fico_result['fico_early_warning']['created_at']);}?>
                        </td>
                    </tr>
                <?php
                }
                }
				?>

            </table>
       </fieldset>
    </div>
 
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>基本信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="280" height="30px"><div class='title-0'>客户编号：</div><?php echo $this->order['base']['o_number'];?></td>
                    <td width="328"><div class='title-0'>业务来源人：</div><?php echo $this->order['base']['o_branch'];?>&nbsp;&nbsp;-&nbsp;&nbsp;<?php echo $this->order['base']['o_uname'];?></td>
                </tr>
                <tr>
                    <td height="30px"><div class='title-0'>签约经销商：</div><?php echo $this->order['base']['o_buyer_type'];?></td>
                    <td><div class='title-0'>经销商：</div><?php echo $this->order['base']['o_buyer'];?></td>
                </tr>
            </table>
       </fieldset>
    </div>
    
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>购车人信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>购车人姓名：</div>
                    	<input type="text" value="<?php echo $this->order['base']['buyer']['ct_name'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>性别：</div>
                    	<input type="text" value="<?php echo $this->order['base']['buyer']['ct_sex'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>年龄：</div>
                    	<input type="text" value="<?php echo $this->order['base']['buyer']['list_age'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>身份证号：</div>
                    	<input type="text" value="<?php echo $this->order['base']['buyer']['ct_code'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>身份证地址：</div>
                    	<input type="text" value="<?php echo $this->order['base']['buyer']['ct_idaddress'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>身份证归属地：</div>
                    	<input type="text" value="<?php echo $this->order['base']['buyer']['ct_affiliation'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>户籍：</div>
                    	<input type="text" value="<?php echo $this->order['owner']['ot_residence_pro'];?><?php echo $this->order['owner']['ot_residence_city'];?><?php echo $this->order['owner']['ot_residence_area'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>学历：</div>
                    	<input type="text" value="<?php echo $this->order['owner']['ot_edu'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px">
                        <div class='title-0'>手机号：</div>
                        <input type="text" value="<?php echo $this->order['owner']['ot_mobile'];?>" class="input-02" style="width:40% !important;" readonly/>
                        &nbsp;&nbsp;
                    <em class="J-mobile-guishu"></em>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>婚否：</div><?php echo $this->order['owner']['ot_married'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>银行卡号：</div><input type="text" value="<?php echo $this->order['owner']['ot_bankcard'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>邮寄地址：</div>
                    <input type="text" value="<?php echo $this->order['owner']['ot_liveadd'];?>" class="input-02" readonly/></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>固定电话：</div><?php echo $this->order['owner']['ot_tel'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>实际家庭地址：</div>
                  <input type="text" value="<?php echo $this->order['owner']['ot_home_add'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>房产地址：</div>
                    	<input type="text" value="<?php echo $this->order['owner']['ot_house_add'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>房产所有权人：</div><?php echo $this->order['owner']['ot_house_owner'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>与购车人关系：</div><?php echo $this->order['owner']['ot_hown_relation'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>房产性质：</div><?php echo $this->order['owner']['ot_house_nature'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>房屋面积 ：</div><?php echo $this->order['owner']['ot_house_acreage'];?> 平方米</td>
                    <td width="33%" height="30px"><div class='title-0'>目前市价：</div><?php echo $this->order['owner']['ot_house_price'];?>万元</td>
                    <td width="33%" height="30px"><div class='title-0'>房贷金额：</div> <?php echo $this->order['owner']['ot_house_loan'];?>万元</td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>年限 ：</div><?php echo $this->order['owner']['ot_house_loyear'];?>月</td>
                    <td width="33%" height="30px"><div class='title-0'>月还款：</div><?php echo $this->order['owner']['ot_house_refundmo'];?>元</td>
                    <td width="33%" height="30px"><div class='title-0'>公司名：</div>
                    	<input type="text" value="<?php echo $this->order['owner']['ot_company'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>单位地址：</div><?php echo $this->order['owner']['ot_company_add'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>单位电话：</div><?php echo $this->order['owner']['ot_company_tel'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>单位类型：</div><?php echo $this->order['owner']['ot_company_type'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>经营期限：</div><?php echo $this->order['owner']['ot_operat_period'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>工龄：</div><?php echo $this->order['owner']['ot_seniority'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>所占股份：</div><?php echo $this->order['owner']['ot_stake'];?>％</td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>月收入：</div> <?php echo $this->order['owner']['ot_income_month'];?> 元</td>
                    <td  colspan="2" height="30px"><!--<div class='title-0'>征信结果：</div> <?php echo $this->order['buyer']['ct_remark'];?>--></td>
                </tr>
            </table>
            <script type="text/javascript">
                $(document).ready(function(e) {
                    var mobile = '<?php echo $this->order['owner']['ot_mobile'];?>';
                    if(mobile !=''){
                        $.post('/public/ajax/option/mobile_area/',{'mobile':mobile},function(data){
                            if(data['success']){
                                $(".J-mobile-guishu").html(data['msg']);	
                            }else{
                                Ext.Msg.alert('提示','获取失败！');	
                            }
                            
                        },'json');
                    }
                });
            </script>
        </fieldset>
    </div>

    <div class="daish-jbzl-box" style=" border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>紧急联系人</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <?php 
                    if(!empty($this->order['owner']['ot_contact'])) foreach($this->order['owner']['ot_contact'] as $k => $v){
                ?>
                <tr>
                    <td width="330" height="30px"><div class='title-0'>姓名：</div>
                    	<input type="text" value="<?php echo $v['name'];?>" class="input-02" readonly/>
                    </td>
                    <td width="330"><div class='title-0'>手机号：</div>
                    	<input type="text" value="<?php echo $v['mobile'];?>" class="input-02" readonly/>
                    </td>
                    <td><div class='title-0'>关系：</div>
                    	<input type="text" value="<?php echo $v['relation'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <?php
                    }
                ?>
                <tr>
                    <td height="30px" colspan=3><div class='title-0'>备注：</div><?php echo $this->order['owner']['ot_remark'];?></td>
                    <td></td>
                    <td></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <?php if(!empty($this->order['spouse'])){?>
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>配偶信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>配偶姓名：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_name'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>性别：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_sex'];?>" class="input-02"  readonly/>
                    </td>
                    <td height="30px"><div class='title-0'>年龄：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['list_age'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>身份证号：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_code'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>身份证地址：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_idaddress'];?>" class="input-02" readonly/>
                    </td>
                    <td height="30px"><div class='title-0'>身份证归属地：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_affiliation'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>户籍：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_province'];?><?php echo $this->order['spouse']['ct_detail']['ct_spouse_city'];?><?php echo $this->order['spouse']['ct_detail']['ct_spouse_area'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>学历：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_degree'];?>" class="input-02" readonly/>
                    </td>
                    <td height="30px">
                        <div class='title-0'>手机号：</div>
                        <input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_mobile'];?>" class="input-02" style="width:50% !important;" readonly/>
                        <em class="J-spouse-mobile"></em>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>邮寄地址：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_liveadd'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>固定电话：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_tel'];?>" class="input-02" readonly/>
                    </td>
                    <td height="30px"><div class='title-0'>公司名：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_company'];?>" class="input-02" readonly/>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>单位地址：</div>
                    	<input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_cadd'];?>" class="input-02" readonly/>
                    </td>
                    <td width="33%" height="30px"><div class='title-0'>单位电话：</div><?php echo $this->order['spouse']['ct_detail']['ct_spouse_ctel'];?></td>
                    <td height="30px"><div class='title-0'>单位类型：</div><?php echo $this->order['spouse']['ct_detail']['ct_spouse_ctype'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>职务类型：</div><?php echo $this->order['spouse']['ct_detail']['ct_spouse_dutytp'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>职务：</div><?php echo $this->order['spouse']['ct_detail']['ct_spouse_duty'];?></td>
                    <td height="30px"><div class='title-0'>经营期限：</div><?php echo $this->order['spouse']['ct_detail']['ct_spouse_operatpd'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>月收入：</div> <?php echo $this->order['spouse']['ct_detail']['ct_spouse_mincome'];?> 元</td>
                    <td width="33%" height="30px"><div class='title-0'>银行卡号：</div><input type="text" value="<?php echo $this->order['spouse']['ct_detail']['ct_spouse_bankcard'];?>" class="input-02" readonly/></td>

                    <td width="33%" height="30px" ><div class='title-0'>备注：</div><?php echo trim($this->order['spouse']['ct_detail']['ct_spouse_remark']);?></td>
                    <td height="30px"><!--<div class='title-0'>征信结果：</div><?php echo $this->order['spouse']['ct_remark'];?>--></td>
                </tr>
            </table>
            <script type="text/javascript">
                $(document).ready(function(e) {
                    var spouseMobile = '<?php echo $this->order['spouse']['ct_detail']['ct_spouse_mobile'];?>';
                    if(spouseMobile !=''){
                        $.post('/public/ajax/option/mobile_area/',{'mobile':spouseMobile},function(data){
                            if(data['success']){
                                $(".J-spouse-mobile").html(data['msg']);	
                            }else{
                                Ext.Msg.alert('提示','获取失败！');	
                            }
                            
                        },'json');
                    }	
                });
            </script>
        </fieldset>
    </div>
    <?php
	}
	?>
    
    <script type="text/javascript">
		$(document).ready(function(e) {
			$(".J-guar-mobile").each(function(index, element) {
                (function(element){
					var guarMobile = $(element).data('mobile');
					var $that = $(element);
					if(guarMobile !=''){
						$.post('/public/ajax/option/mobile_area/',{'mobile':guarMobile},function(data){
							if(data['success']){
								$that.html(data['msg']);	
							}
						},'json');	
					}	
				})(element);
            });
		});
	</script>
    <?php $i =0;?>
    <?php
    	if(!empty($this->order['guarantor'])) foreach($this->order['guarantor'] as $key => $val){
	?>
    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>担保人信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>担保人姓名：</div><input type="text" value="<?php echo $val['ct_name'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>性别：</div><input type="text" value="<?php echo $val['ct_sex'];?>" class="input-02" readonly/></td>
                    <td height="30px">
                        <div class='title-0'>年龄：</div><input type="text" value="<?php echo $val['list_age'];?>" class="input-02" style="width:50% !important;" readonly/>
                        <em><?php echo $val['ct_detail']['ct_guarantor_married'];?></em>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>身份证号：</div><input type="text" value="<?php echo $val['ct_code'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>身份证地址：</div><input type="text" value="<?php echo $val['ct_idaddress'];?>" class="input-02" readonly/></td>
                    <td height="30px"><div class='title-0'>身份证归属地：</div><input type="text" value="<?php echo $val['ct_affiliation'];?>" class="input-02" readonly/></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>户籍：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_province'];?><?php echo $val['ct_detail']['ct_guarantor_city'];?><?php echo $val['ct_detail']['ct_guarantor_area'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>学历：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_degree'];?>" class="input-02" readonly/></td>
                    <td height="30px">
                        <div class='title-0'>手机号：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_mobile'];?>" class="input-02" style="width:50% !important;" readonly/>
                        <em class="J-guar-mobile" data-mobile="<?php echo $val['ct_detail']['ct_guarantor_mobile'];?>"></em>
                    </td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>邮寄地址：</div>
                    <input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_liveadd'];?>" class="input-02" readonly /></td>
                    <td width="33%" height="30px"><div class='title-0'>固定电话：</div><?php echo $val['ct_detail']['ct_guarantor_tel'];?></td>
                    <td height="30px"><div class='title-0'>实际家庭地址：</div><?php echo $val['ct_detail']['ct_guarantor_hadd'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>房产地址：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_headd'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>房产所有权人：</div><?php echo $val['ct_detail']['ct_guarantor_howner'];?></td>
                    <td height="30px"><div class='title-0'>与购车人关系：</div><?php echo $val['ct_detail']['ct_guarantor_hrelation'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>房产性质：</div><?php echo $val['ct_detail']['ct_guarantor_hnature'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>房屋面积：</div><?php echo $val['ct_detail']['ct_guarantor_hacreage'];?></td>
                    <td height="30px"><div class='title-0'>目前市价：</div><?php echo $val['ct_detail']['ct_guarantor_hprice'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>房贷金额：</div><?php echo $val['ct_detail']['ct_guarantor_hloan'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>年限：</div><?php echo $val['ct_detail']['ct_guarantor_hloyear'];?></td>
                    <td height="30px"><div class='title-0'>月还款：</div><?php echo $val['ct_detail']['ct_guarantor_hrefundmo'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>公司名：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_company'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>单位地址：</div><?php echo $val['ct_detail']['ct_guarantor_cadd'];?></td>
                    <td height="30px"><div class='title-0'>单位电话：</div><?php echo $val['ct_detail']['ct_guarantor_ctel'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>单位类型：</div><?php echo $val['ct_detail']['ct_guarantor_ctype'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>职务类型：</div><?php echo $val['ct_detail']['ct_guarantor_dutytp'];?></td>
                    <td height="30px"><div class='title-0'>职务：</div><?php echo $val['ct_detail']['ct_guarantor_duty'];?></td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>经营期限：</div><?php echo $val['ct_detail']['ct_guarantor_operatpd'];?></td>
                    <td width="33%" height="30px"><div class='title-0'>工龄：</div><?php echo $val['ct_detail']['ct_guarantor_seniority'];?></td>
                    <td height="30px"><div class='title-0'>所占股份：</div><?php echo $val['ct_detail']['ct_guarantor_stake'];?>%</td>
                </tr>
                <tr>
                    <td width="33%" height="30px"><div class='title-0'>月收入：</div> <?php echo $val['ct_detail']['ct_guarantor_mincome'];?> 元</td>
                    <td width="33%" height="30px"><div class='title-0'>银行卡号：</div><input type="text" value="<?php echo $val['ct_detail']['ct_guarantor_bankcard'];?>" class="input-02" readonly/></td>
                    <td width="33%" height="30px"><div class='title-0'>担保人类型：</div> <input type="text" name ="ct_guarantor[<?php echo $key;?>][ct_guarantor_type]" value="<?php echo $val['ct_guarantor_type'];?>" class="input-02"/></td>
                    <input type="hidden" name ="ct_guarantor[<?php echo $key;?>][ct_id]" value ="<?php echo $val['ct_id'];?>"/>
                </tr>
                <tr>
                    <td width="33%" height="30px" colspan=3><div class='title-0'>备注：</div><?php echo $val['ct_detail']['ct_guarantor_remark'];?></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <?php $i++;?>
    <?php
		}
	?>
   <div class="daish-jbzl-box" style="border:0;">
   		<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>车辆信息</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
           		<tr>
                    <td colspan="3"><div class="title-0">
                        车型：</div><input type="text" value="<?php echo $this->order['car']['ot_car_type'].' '.$this->order['car']['ot_car_model'].' '.$this->order['car']['ot_car_fullmodel'];?>" readonly class="input-03" style="width:60% !important;">&nbsp;<?php echo $this->order['car']['ot_car_seating'].'座';?>
                    </td>
                    <td height="35"><div class="title-0">
                        车型构成：</div><input type="text" value="<?php echo $this->order['car']['ot_car_pose'];?>" readonly class="input-03">
                    </td>
                </tr>
                <?php if($this->order['car']['ot_car_pose'] == '二手车'){ ?>
                    <tr>
                        <td height="30px"><div class='title-0'>初次上牌日期：</div><input type ="text" value="<?php echo $this->order['car']['ot_initialrg_time'];?>" class="input-04" readonly/></td>
                        <td><div class='title-0'>评估价：</div><input type ="text" value="<?php echo $this->order['car']['ot_assessment'];?>" class="input-04" readonly/></td>
                        <td><div class='title-0'>评估日期：</div><input type ="text" value="<?php echo $this->order['car']['ot_assess_time'];?>" class="input-04" readonly/></td>
                        <td><div class='title-0'>出报告金额：</div><input type ="text" value="<?php if($this->order['base']['o_bank'] == '中国工商银行股份有限公司哈尔滨东直支行' && isset($this->order['car']['ot_calculated']['d_transaction_amount'])){ echo $this->order['car']['ot_calculated']['d_transaction_amount'];}else{ echo $this->order['car']['ot_assessment'];}?>" class="input-03" readonly/></td>
                    </tr>
                <?php }?>
                <tr>
                    <td height="30px">
                        <div class='title-0'>上牌地：</div>
                        <input type="text" value="<?php echo $this->order['car']['ot_reg_province'];?> <?php echo $this->order['car']['ot_reg_city'];?> <?php echo $this->order['car']['ot_reg_area'];?>" class="input-04" readonly/>
                    </td>
                    <td>
                        <div class='title-0'>是否公牌：</div>
                        <?php echo $this->order['car']['ot_pubbrand'];?>              
                    </td>
                    <td>
                        <div class='title-0'>行驶证车主：</div><?php echo $this->order['car']['ot_car_owners'];?>
                    </td>
                    <td>
                        <div class='title-0'>贷款年限：</div>
                        <input type="text" value="<?php echo $this->order['car']['ot_loan_year'];?>" class="input-03" readonly/>
                    </td>
                </tr>
                <tr>
                    <td height="30px">
                        <div class='title-0'>贷款银行：</div>
                        <input type="text" value="<?php echo $this->order['base']['o_bank'];?>" class="input-04" readonly/>
                    </td>
                    <td>
                        <div class='title-0'>产品编号：</div><?php echo $this->order['car']['ot_bankrt_code'];?>
                    </td>
                    <td>
                        <div class='title-0'>产品类型：</div><?php echo $this->order['car']['ot_loan_type'];?>
                    </td>
                    <td>
                        <div class='title-0'>车价：</div>
                        <input type="text" value="<?php echo $this->order['car']['ot_car_price'];?>" class="input-03" readonly/>
                    </td>
                </tr>
                
                <tr>
                    <td height="30px">
                        <div class='title-0'>银行利率：</div><?php echo $this->order['car']['ot_calculated']['bank_rate'] * 100;?>%
                    </td>
                    <td>
                        <div class='title-0'>实际贷款比例：</div>
                        <span style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_loan_per'];?>％</span>
                    </td>
                    <td>
						<div class='title-0'>实际首付款：</div>
                        <span>
                        	<input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_payment'];?>元" class="input-03" style="width:50% !important;" readonly/>
                        </span>
                    </td>
                    <td>
                        <div class='title-0'>贷款额：</div>
                        	<input type="text" value="<?php echo $this->order['car']['ot_loan_limit'];?>元" class="input-03" readonly/>
                    </td>
                </tr>
                
                <tr>
                    <td height="30px">
                        <div class='title-0'>分期手续费：</div>
                        <span style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_aging_poundage'];?>元</span>
                    </td>
                    <td>
                        <?php if($this->order['base']['o_bank']=='中国农业银行股份有限公司萧山分行' || $this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
                        <div class='title-0'>其他费用：</div>
                        <?php echo $this->order['car']['ot_car_oprice'];?>元<?php }else if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' || $this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
						<div class='title-0'>服务费率：</div>
                        <?php echo $this->order['car']['ot_service_rate'];?>%
                        <?php }?>
                    </td>
                    <td>
                    <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' || $this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
                        <div class='title-0' style='width:126px;'>金融服务费比例：</div>
                        <span class="J-d-service-per" style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_service_per'];?>％</span>
                        
                    <?php }?>
                    </td>
                    <td>
                        <?php if($this->order['base']['o_bank']=='（2017）中国工商银行股份有限公司杭州延中支行' || $this->order['base']['o_bank']=='中国工商银行股份有限公司哈尔滨东直支行'){?>
                            <div class='title-0'>金融服务费：</div>
                            <span class="J-d-service-money" style="font-size:14px;">
                            	<input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_service_money'];?>元" class="input-03" readonly/>
                            </span>
                        <?php }?>
                    </td>
                </tr>
                <tr>
                    <td height="30px">
                        <div class='title-0'>分期付款总额：</div>
                        <span class="J-d-aging-money" style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_aging_money'];?>元</span>
                        
                    </td>
                    <td>
                        <div class='title-0'>分期付款比例：</div>
                        <span class="J-d-aging-per" style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_aging_per'];?>％</span>
                        
                    </td>
                    <td>
                    </td>
                    <td>
					
                        <div class='title-0'>公司费率：</div>
                        	<input type="text" value="<?php echo $this->order['car']['ot_loan_rate'];?>%" class="input-03" readonly/>
                    </td>
                </tr> 
                <tr>
                    <td height="30px">
                        <div class='title-0' style='width:126px;'>申请分期付款总额：</div>
                        <span class="J-d-signag-money" style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_signag_money'];?>元</span>
                        
                    </td>
                    <td>
                        <div class='title-0' style='width:126px;'>申请分期付款比例：</div>
                        <span class="J-d-aging-moneyper" style="font-size:14px;"><?php echo $this->order['car']['ot_calculated']['d_aging_moneyper'];?>％</span>
                        
                    </td>
                    <td>
                        <div class='title-0'>首期还款额：</div>
                        <span class="J-d-refund-1month">
                        	<input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_refund_1month'];?>元" class="input-03" style="width:50% !important;" readonly/>
                        </span>
                        
                    </td>
                    <td>
                        <div class='title-0'>月还款额：</div>
                        <span class="J-d-refund-month">
                        	<input type="text" value="<?php echo $this->order['car']['ot_calculated']['d_refund_month'];?>元" class="input-03" style="width:50% !important;" readonly/>
                        </span>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="4" valign="top">
                        <div class='title-0'>备注：</div><span style="font-size:14px;"><?php echo $this->order['car']['ot_loan_remark'];?></span>
                    </td>
                </tr>
                
              
           </table>
        </fieldset>
    </div>

    <div class="daish-jbzl-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>面签信息</h2><a href='\\192.168.99.7\credit\<?php echo $this->order['base']['o_number'];?>' target='_blank'>\\192.168.99.7\credit\<?php echo $this->order['base']['o_number'];?></a></legend>

            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">证件照</em></dt>
                <dd id="J-box-order-cert">
                    <?php if(!empty($this->order['attachment']['oa_cert'])) foreach($this->order['attachment']['oa_cert'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_cert" data-fname="<?php echo $v;?>"></em>
                    	<img data-original="<?php echo $this->order['attachment']['oa_cert_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_cert_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                    
                </dd>
            </dl>
            
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">资产类照片</em></dt>
                <dd id="J-box-order-assets">
                    <?php if(!empty($this->order['attachment']['oa_assets'])) foreach($this->order['attachment']['oa_assets'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_assets" data-fname="<?php echo $v;?>"></em>
                    	<img data-original="<?php echo $this->order['attachment']['oa_assets_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_assets_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                    
                </dd>
            </dl>

            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">家访照</em></dt>
                <dd id="J-box-order-family">
                    <?php if(!empty($this->order['attachment']['oa_family'])) foreach($this->order['attachment']['oa_family'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_family" data-fname="<?php echo $v;?>"></em>
                    	<img data-original="<?php echo $this->order['attachment']['oa_family_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_family_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                    
                </dd>
            </dl>
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">签字照</em></dt>
                <dd id="J-box-order-sign">
                    <?php if(!empty($this->order['attachment']['oa_sign'])) foreach($this->order['attachment']['oa_sign'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_sign" data-fname="<?php echo $v;?>"></em>
                    	<img data-original="<?php echo $this->order['attachment']['oa_sign_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_sign_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                </dd>
            </dl>
            <dl class="daish-mqxx J-daish-video">
                <dt><em style="font-weight:bold;">视频类</em></dt>
                <dd>
                    <?php if(!empty($this->order['attachment']['oa_video'])) foreach($this->order['attachment']['oa_video'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_video" data-fname="<?php echo $v;?>"></em>
                    	<img class="J-video-obj" data-url="<?php echo $this->order['attachment']['oa_video_url'][$k];?>" src="<?php echo BASE_STYLE;?>/images/member/default_sildeshow.gif" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                </dd>
            </dl>
            
            <?php
                switch($this->order['base']['o_pre_mode']){
                    case 2:
            ?>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">流水类</em></dt>
                            <dd id="J-box-order-flowing">
                                <?php if(!empty($this->order['attachment']['oa_flowing'])) foreach($this->order['attachment']['oa_flowing'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        			<em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_flowing" data-fname="<?php echo $v;?>"></em>
                                	<img data-original="<?php echo $this->order['attachment']['oa_flowing_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_flowing_thurl'][$k];?>" width="80" height="80" />
                                </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">其他资料</em></dt>
                            <dd id="J-box-order-other">
                                <?php if(!empty($this->order['attachment']['oa_other'])) foreach($this->order['attachment']['oa_other'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        			<em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_other" data-fname="<?php echo $v;?>"></em>
                                	<img data-original="<?php echo $this->order['attachment']['oa_other_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_other_thurl'][$k];?>" width="80" height="80" />
                                </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
            <?php
                        break;
                    case 3:	
            ?>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">流水类</em></dt>
                            <dd id="J-box-order-flowing">
                                <?php if(!empty($this->order['attachment']['oa_flowing'])) foreach($this->order['attachment']['oa_flowing'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        			<em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_flowing" data-fname="<?php echo $v;?>"></em>
                                	<img data-original="<?php echo $this->order['attachment']['oa_flowing_url'][$k];?>"  class="example-image" src="<?php echo $this->order['attachment']['oa_flowing_thurl'][$k];?>" width="80" height="80" />
                                </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
                        <dl class="daish-mqxx">
                            <dt><em style="font-weight:bold;">其他资料</em></dt>
                            <dd id="J-box-order-other">
                                <?php if(!empty($this->order['attachment']['oa_other'])) foreach($this->order['attachment']['oa_other'] as $k=>$v){?>
                                <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        			<em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="oa_other" data-fname="<?php echo $v;?>"></em>
                                	<img data-original="<?php echo $this->order['attachment']['oa_other_url'][$k];?>" class="example-image" src="<?php echo $this->order['attachment']['oa_other_url'][$k];?>" width="80" height="80" />
                                </div>
                                <?php
                                }
                                ?>
                            </dd>
                        </dl>
            <?php
                        break;
                }
            ?>
            
            <dl class="daish-mqxx">
                <dt><em style="font-weight:bold;">物流单号：</em><?php echo $this->order['express']['ls_express_no'];?></dt>
                <dd id="J-express">
                    <?php if(!empty($this->order['express']['ls_express_image_url'])) foreach($this->order['express']['ls_express_image_url'] as $k=>$v){?>
                    <img data-original="<?php echo $v;?>" class="example-image" src="<?php echo $v;?>" width="80" height="80" />
                    <?php
                    }
                    ?>
                </dd>
            </dl>
            <dl class="daish_mqxx">
                <dt><em style="font-weight:bold;">评估类照片</em></dt>
                <dd id="J-pinggu">
                    <?php if(!empty($this->order['et_attach']['car']) || !empty($this->order['et_attach']['plate']) || !empty($this->order['et_attach']['comp'])){ ?>
                    <?php foreach($this->order['et_attach']['car'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="et_attach_car" data-fname="<?php echo $v;?>"></em>
                        <img data-original="<?php echo $this->order['et_attach']['car_url'][$k];?>" class="example-image" src="<?php echo $this->order['et_attach']['car_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                    <?php foreach($this->order['et_attach']['plate'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="et_attach_plate" data-fname="<?php echo $v;?>"></em>
                        <img data-original="<?php echo $this->order['et_attach']['plate_url'][$k];?>" class="example-image" src="<?php echo $this->order['et_attach']['plate_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                    ?>
                    <?php foreach($this->order['et_attach']['comp'] as $k=>$v){?>
                    <div style="position:relative;display:inline-block; float:left;margin-right:10px;">
                        <em class="ico-close J-ico-close" data-oid="<?php echo $this->order['base']['o_id'];?>" data-type="et_attach_comp" data-fname="<?php echo $v;?>"></em>
                        <img data-original="<?php echo $this->order['et_attach']['comp_url'][$k];?>" class="example-image" src="<?php echo $this->order['et_attach']['comp_thurl'][$k];?>" width="80" height="80" />
                    </div>
                    <?php
                    }
                }
                    ?>

                </dd>
            </dl>
         </fieldset>
    </div>

    <?php
		if($this->order['base']['o_trial_status'] != '未审核'){
	?>
    <div class="order-item-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>初审意见</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="35px" width="73px">
                        初审结果：
                    </td>
                    <td>
                        <?php echo $this->order['audit_ok']['a_results'] == '通过' ? '可以办理' : '不予办理';?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        初审详情:
                    </td>
                    <td>
                        <?php echo $this->order['audit_ok']['a_details'];?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        初审备注:
                    </td>
                    <td>
                        <?php echo $this->order['audit_ok']['a_remarks'];?>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审核人：&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->order['audit_ok']['a_uname'];?>&nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：
                        <?php echo $this->order['audit_ok']['a_dateline'];?>
                    </td>
                </tr>
                
    
            </table>
         </fieldset>
    </div>
    <?php
		}
	?>
    <div class="order-item-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>手机排查</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="115px">主贷人查重结果：</td>
                    <td><?php if(empty($this->order['phonecheck']['check_phone_vname'])) {echo '未查询到重复手机号';}else{ echo '手机号与订单号为'.$this->order['phonecheck']['check_phone_vnumber'].'的客户'.$this->order['phonecheck']['check_phone_vname'].'重复';}?></td>
                </tr>
                <?php if(!empty($this->order['spouse'])){
                    ?>
                    <tr>
                    <td width="115px">&nbsp;&nbsp;&nbsp;配偶查重结果：</td>
                    <td><?php if(empty($this->order['phonecheck']['check_phone_sname'])) {echo '未查询到重复手机号';}else{ echo '手机号与订单号为'.$this->order['phonecheck']['check_phone_snumber'].'的客户'.$this->order['phonecheck']['check_phone_sname'].'重复';}?></td>
                </tr>
                <?php } 
                 if(!empty($this->order['guarantor'])){
                    ?>
                    <tr>
                    <td width="115px">担保人查重结果：</td>
                    <td><?php if($this->order['phonecheck']['check_phone_gname'] === $this->order['phonecheck']['check_phone_gnumber']){echo '未查询到重复手机号';}else{
                        for($b=0;$b<count($this->order['phonecheck']['check_phone_gname']);$b++){
                            if(!empty($this->order['phonecheck']['check_phone_gname'][$b]))
                                echo $this->order['phonecheck']['check_phone_gnumber'][$b].'的客户'.$this->order['phonecheck']['check_phone_gname'][$b].'重复。';
                            }}?>
                            </td>
                </tr>
                <?php } ?>
            </table>
        </fieldset>
    </div>
    <div class="order-item-box" style="border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>身份证地址排查结果</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="115px">主贷人查重结果：</td>
                    <td><?php if(empty($this->order['idaddresscheck']['check_vname'])) {echo '未查询到重复身份证地址';}else{ echo '身份证地址与订单号为'.$this->order['idaddresscheck']['check_vnumber'].'的客户'.$this->order['idaddresscheck']['check_vname'].'重复';}?></td>
                </tr>
                <?php if(!empty($this->order['spouse'])){
                    ?>
                    <tr>
                    <td width="115px">&nbsp;&nbsp;&nbsp;配偶查重结果：</td>
                    <td><?php if(empty($this->order['idaddresscheck']['check_sname'])) {echo '未查询到重复身份证地址';}else{ echo '身份证地址与订单号为'.$this->order['idaddresscheck']['check_snumber'].'的客户'.$this->order['idaddresscheck']['check_sname'].'重复';}?></td>
                </tr>
                <?php } 
                 if(!empty($this->order['guarantor'])){
                    ?>
                    <tr>
                    <td width="115px">担保人查重结果：</td>
                    <td><?php if($this->order['idaddresscheck']['check_gname'] === $this->order['idaddresscheck']['check_gnumber']){echo '未查询到重复身份证地址';}else{
                        for($b=0;$b<count($this->order['idaddresscheck']['check_gname']);$b++){
                            if(!empty($this->order['idaddresscheck']['check_gname'][$b]))
                                echo $this->order['idaddresscheck']['check_gnumber'][$b].'的客户'.$this->order['idaddresscheck']['check_gname'][$b].'重复。';
                            }}?>
                            </td>
                </tr>
                <?php } ?>
            </table>
        </fieldset>
    </div>
    <div class="order-item-box" style="border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>车系排查结果</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="215px">近两个月该网点提交订单数：</td>
                    <td><?php echo $this->order['carmodelcheck']['order_count'].'单';?></td>
                </tr>
                <tr>
                    <td width="215px">其中与本单相同车系订单有：</td>
                    <td><?php echo $this->order['carmodelcheck']['car_count'].'单';if($this->order['carmodelcheck']['car_count']>0){echo '('.implode(',',$this->order['carmodelcheck']['car_arr']).')';}?></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <div class="order-item-box" style="border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>主贷公司名查重结果</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="215px">一年内与本单相同公司名的订单：</td>
                    <td><?php echo $this->order['companycheck']['count'].'单';if($this->order['companycheck']['count']>0){echo '('.implode(',',$this->order['companycheck']['same_data']).')';}?></td>
                </tr>
            </table>
        </fieldset>
    </div>
    <?php if($this->member_info['toplimit'] >= $this->order['car']['ot_loan_limit'] && $this->order['car']['ot_loan_limit'] > 80000){?>
    <div class="order-item-box" style="border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>上级审核员意见</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
               <tr>
                    <td height="35px" width="73px">
                        审核结果：
                    </td>
                    <td>
                        <?php echo $this->order['audit_type']['a_results'] == '通过' ? '可以办理' : '不予办理';?>，网点承担风险比例(％)：<?php $o_web_risk = $this->order['base']['o_web_risk'] == '' ? '0' :$this->order['base']['o_web_risk']; echo $o_web_risk;?>，未出险返点(％)：<?php echo $this->order['base']['o_rebate_per'];?>，<?php if($this->order['base']['o_needgps']) {echo('要求安装GPS');}else {echo'不安装GPS';}?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        审核详情:
                    </td>
                    <td>
                        <?php echo $this->order['audit_type']['a_details'];?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                       审核备注:
                    </td>
                    <td>
                        <?php echo $this->order['audit_type']['a_remarks'];?>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审核人：&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->order['audit_type']['a_uname'];?>&nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：
                        <?php echo $this->order['audit_type']['a_dateline'];?>
                    </td>
                </tr>
               </tr>
            </table>
        </fieldset>
    </div>
    <?php }?>

    <?php if(!empty($this->order['audit_front'])){?>
    <div class="order-item-box" style="border:0;">
        <fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
            <legend style="padding:5px 15px;"><h2>回退意见</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
               <tr>
                    <td height="35px" width="73px">
                        审核结果：
                    </td>
                    <td>
                        <?php echo $this->order['audit_front']['a_results']?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                        审核详情:
                    </td>
                    <td>
                        <?php echo $this->order['audit_front']['a_details'];?>
                    </td>
                </tr>
                <tr>
                    <td height="70px">
                       审核备注:
                    </td>
                    <td>
                        <?php echo $this->order['audit_front']['a_remarks'];?>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审核人：&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->order['audit_front']['a_uname'];?>&nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：
                        <?php echo $this->order['audit_front']['a_dateline'];?>
                    </td>
                </tr>
               </tr>
            </table>
        </fieldset>
    </div>
    <?php }?>





    <div class="order-item-box" style="border:0;">
    	<fieldset style="border:1px solid #a8a8a8; padding:10px 15px;">
        	<legend style="padding:5px 15px;"><h2>审核员终审</h2></legend>
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <?php if($this->member_info['toplimit'] < $this->order['car']['ot_loan_limit']){?>
                <tr>
                    <td height="35px" width="73px">
                        审核类型：
                    </td>
                    <td>
                        <select name="a_results">
                            <option value="可以办理"<?php echo $this->order['audit_draft']['a_results'] == '通过' ? ' selected="selected"' : '';?>>可以办理</option>
                            <option value="不予办理"<?php echo $this->order['audit_draft']['a_results'] == '退单' ? ' selected="selected"' : '';?>>不予办理</option>
                        </select>
                    </td>
                </tr>
                <?php }else{?>
                    <input type ="hidden" name="a_results" value="可以办理"/>
                <?php }?>
                <?php if($this->member_info['toplimit'] < $this->order['car']['ot_loan_limit'] || $this->order['car']['ot_loan_limit']<= 80000){?>
                <tr>
                    <td height="70px" colspan="2">
                        <label>
                            网点承担风险比例(％)：
                            <input name="o_web_risk" type="text" value="<?php echo $this->order['base']['o_web_risk'];?>" />
                        </label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            未出险返点(％)：
                            <input name="o_rebate_per" type="text" value="<?php echo $this->order['base']['o_rebate_per'];?>" />
                        </label>
                    </td>
                </tr>
                <tr>
                    <td height="50px" colspan="2">
                        <!--2018.8.15开始所有订单都需装GPS-->
                        <input name="o_needgps" type="checkbox" value="1" <?php if(strtotime($this->order['base']['o_add_time'])>1534262400) echo"onclick='return false;'";?> <?php if($this->order['base']['o_needgps'] || $this->order['base']['o_search_time']>1534262400)echo('checked'); ?>> 要求安装GPS
                    </td>
                </tr>
                <tr>
                    <td height="70px" colspan="2">
                        <?php if($this->order['car']['ot_loan_limit']<=80000){?>
                        正常通过：
                            <input type="radio" name="a_details" value="正常通过" /><br/>
                        简审通过：
                            <input type="radio" name="a_details" value="简审通过" />
                        <?php }else{?>
                        正常通过：
                            <input type="radio" name="a_details" value="正常通过" /><br/>
                        通融通过垫资:
                            <input type="radio" name="a_details" value="通融通过垫资" /><br/>
                        通融通过不垫资:
                            <input type="radio" name="a_details" value="通融通过不垫资" />
                        <?php }?>
                    </td>
                </tr>
               <?php } ?>
                <tr>
                    <td height="70px">
                        终审意见:
                    </td>
                    <td>
                        <textarea name="a_remarks" style="width:550px; height:256px; background:none; resize:none; vertical-align:text-top;"><?php echo $this->order['audit_draft']['a_remarks'];?></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        审 核 人：&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="text" value="<?php echo $this->member_info['u_realname'];?>" name="a_uname" readonly />&nbsp;&nbsp;&nbsp;&nbsp;
                        审核时间：
                        <input type="text" value="<?php echo date('Y-m-d',time());?>" name="a_dateline" readonly />
                    </td>
                </tr>
    
            </table>
        </fieldset>
    </div>
    
    
    
    <div class="luru-box-btn mt30" style="position:fixed; bottom:0; width:100%; left:0; background:#FFF; text-align:right; padding:10px 20px; box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;">
    	<input type="hidden" name="oid" value="<?php echo $this->order['base']['o_id'];?>" />
        <input type="hidden" name="savetype" value="draft" />
        <?php if($this->order['car']['ot_loan_limit']<=80000 || $this->member_info['toplimit'] < $this->order['car']['ot_loan_limit']){?>
        <a href="javascript:;" class="a-btn-close J-tuihui fn-right mr15">终审退回</a>
        <a href="javascript:;" class="a-btn-close J-qianchu fn-right mr15">终审签出</a>
        <?php }elseif($this->order['car']['ot_loan_limit'] >80000 && $this->member_info['toplimit'] >= $this->order['car']['ot_loan_limit']){?>
        <a href="javascript:;" class="a-btn-close J-huitui fn-right mr15">退回至上级审核员</a>
        <?php }?>
    	<input type="submit" class="a-btn-close mr15 J-a-submit" value="仅保存" />
        <?php if($this->member_info['toplimit'] >= $this->order['car']['ot_loan_limit']){?>
        <input type="submit" class="a-btn-close mr15 J-a-btn-submit" value="可以办理" />
        <?php }else{?>
        <input type="submit" class="a-btn-close mr15 J-a-btn-submit" value="终审审核" />
        <?php }?>
        <?php if($this->order['base']['o_layer_status'] != '暂停中' && ($this->member_info['toplimit'] < $this->order['car']['ot_loan_limit'] ||$this->order['car']['ot_loan_limit']<=80000)){ echo '<a href="javascript:;" class="a-btn-close J-suspend fn-right mr15"/> 终审暂停</a>';}?>
    </div>
</form>   
</div>
<script type="text/javascript">
$(document).ready(function(e) {
    //删除上传的图片
	$(".daish-jbzl-box").on('click','.J-ico-close',function(){
		var $this = $(this);
		var oid = $(this).data('oid'),
			type = $(this).data('type'),
			fname =$(this).data('fname');
					
		Ext.Msg.confirm('提示','您确定要删除此图片吗?',function(btn){
			if(btn=='yes'){
				$.post('/order/faoaudit/option/attach_remove',{'oid':oid,'type':type,'fname':fname},function(data){
					if(data['success']){
						$this.closest('div').remove();
					}else{
						Ext.Msg.alert('提示','删除失败！');		
					}
				},'json');	
			}
		});
		
	});	

    $(".J-suspend").on('click',function(){
        var oid = $('input[name="oid"]').val();
        popItem(oid);
    });

});


function popItem(oid){
    var suspendHtml ='<iframe width="100%" height="100%" id="suspend_item" name="suspend_item" src="/order/faoaudit/option/suspend?oid='+oid+'" frameborder="0"></iframe>';
    var win = new Ext.Window({
            title:'终审暂停',
            closeable:true,
            closeAction:'hide',
            modal:true,
            width:600,
            height:300,
            resizable:false,
            plain:true,
            layout:'fit',
            html:suspendHtml
        });
        
    win.show(this); 
}

var viewerCert = new Viewer(document.getElementById('J-box-order-cert'),{
    url:"data-original",
    show:function(){
        viewerCert.update();    
    }   
});
var viewerAssets = new Viewer(document.getElementById('J-box-order-assets'),{
    url:"data-original",
    show:function(){
        viewerAssets.update();  
    }   
}); 
if(document.getElementById('glideDiv0')){
            var viewerSignimage = new Viewer(document.getElementById('glideDiv0') , {
                url:"data-original",
                show:function(){
                    viewerSignimage.update();    
                }
            });
        }

var viewerFamily = new Viewer(document.getElementById('J-box-order-family'),{
    url:"data-original",
    show:function(){
        viewerFamily.update();      
    }   
});
var viewerSign = new Viewer(document.getElementById('J-box-order-sign'),{
    url:"data-original",
    show:function(){
        viewerSign.update();    
    }   
});
var viewerFlowing = new Viewer(document.getElementById('J-box-order-flowing'),{
    url:"data-original",
    show:function(){
        viewerFlowing.update();     
    }   
});
var viewerOther = new Viewer(document.getElementById('J-box-order-other'),{
    url:"data-original",
    show:function(){
        viewerOther.update();   
    }   
});

var viewerExpress = new Viewer(document.getElementById('J-express'),{
    url:"data-original",
    show:function(){
        viewerExpress.update();     
    }   
});

var viewerPinggu = new Viewer(document.getElementById('J-pinggu'),{
    url:"data-original",
    show:function(){
        viewerPinggu.update();      
    }   
});

</script>
<style type="text/css">
	.mianqianxinxi-box {
		height:auto;
		overflow:hidden;
		margin-top:15px;
	}
	
	.mianqianxinxi-box dt {
		margin-bottom:10px;
	}
	.mianqianxinxi-box dd {
		float:left;
	}
	
	.mianqianxinxi-pic-list {
		margin-right:10px;
	}
	
	.mianqianxinxi-pic-list img {
		margin-right:10px;
	}
	
	
</style>
<?php include $this->Render('footer.php'); die();?>